﻿namespace LanqiQAwebapi.Interface
{
    public interface ICacheService
    {
        void AddBlackToken(string uid, string Token);
        bool CheckTokenIsBlacke(string uid,string Token);

        bool AddSendMessage(string Phone, string MessageCode);
        bool IncrementAndCheckLimit(string phoneNumber, int dailyLimit);

        int PGetSendMessageCount(string phoneNumber);
        string GetPhoneMessage(string phoneNumber,int count);
        void GetHotquestion(string Input);


    }
}
